package com.wjpeng.wms.mapper;

import com.wjpeng.wms.domain.Department;
import com.wjpeng.wms.domain.Employee;
import com.wjpeng.wms.query.EmployeeQueryObject;
import com.wjpeng.wms.query.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

    Integer queryCount(QueryObject qo);

    List<Department> queryLimit(QueryObject qo);
}